
namespace Himall.Entity
{
    using System;
    using System.Collections.Generic;
    /// <summary>
    /// 运费模板主表
    /// </summary>
    public partial class FreightTemplateInfo:BaseModel
    {     
    
        long _id;
        public new long Id { get{ return _id; } set{ _id=value; base.Id = value; } }
        /// <summary>
        /// 运费模板名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 宝贝发货地
        /// </summary>
        public Nullable<int> SourceAddress { get; set; }
        /// <summary>
        /// 发送时间
        /// </summary>
        public string SendTime { get; set; }
        /// <summary>
        /// 是否商家负责运费
        /// </summary>
        public Himall.CommonModel.FreightTemplateType IsFree { get; set; }
        /// <summary>
        /// 定价方法(按体积、重量计算）
        /// </summary>
        public Himall.CommonModel.ValuationMethodType ValuationMethod { get; set; }
        /// <summary>
        /// 运送类型（物流、快递）
        /// </summary>
        public Nullable<int> ShippingMethod { get; set; }
        /// <summary>
        /// 店铺ID
        /// </summary>
        public long ShopID { get; set; }
    
        public virtual ICollection<FreightAreaContentInfo> Himall_FreightAreaContent { get; set; } = new HashSet<FreightAreaContentInfo>();
        public virtual ICollection<ProductInfo> Himall_Products { get; set; } = new HashSet<ProductInfo>();
    }
}
